home *** CD-ROM | disk | FTP | other *** search
/ Stolen Data 3 / Stolen Data 3.adf / MAG-TEXT / CODE2a < prev    next >
Text File  |  1989-01-01  |  882b  |  31 lines

  1.  
  2.  Movem.l (a7)+,d0-d7/a1-a6
  3.  
  4. Blank  Dcb.l  16,0
  5.  
  6.   With  experimentation  you can find a
  7. point at which both the blitter and the
  8. processor  require  the  same amount of
  9. time to clear their respective areas of
  10. the screen
  11.  
  12. 2)  Setting  Blitter Nasty - When using
  13. the  blitter  for  plotting  bobs,  you
  14. require  the  full  4 channels enabled.
  15. This  leaves  almost  no processor time
  16. left  over,  and  for  reasonable sized
  17. bobs  it is unnecessary to wait for the
  18. blitter to finish.
  19.  
  20. 3)  Format  your  sintables  so that no
  21. unnecessary  calculation  is performed,
  22. for  instance have a separate table for
  23. the  BLTCON0  and BLTCON1 register pair
  24. which  is  already  ORED  with $fca0000
  25. derived  from the x coordinate.  ( this
  26. is for the case A-Mask B-Bob C-Screen )
  27.  
  28. 4)  Always  use indirect addressing, as
  29. it's  considerably faster than absolute
  30. addressing.  Don't use Address Register
  31.